package tan.dft.json;

import java.io.BufferedReader;
import java.io.IOException;

import android.app.Activity;

public class Jsondata extends Activity {

	public static String myjsonstring;

	public static void Json() {
		StringBuffer sb = new StringBuffer();
		BufferedReader br = null;
		try {
			// br = new BufferedReader(new
			// InputStreamReader(getApplicationContext().getAssets().open(
			// "jsondata.txt")));
			String temp;
			while ((temp = br.readLine()) != null)
				sb.append(temp);
		} catch (IOException e) {
			e.printStackTrace();
		} finally {
			try {
				br.close(); // stop reading
			} catch (IOException e) {
				e.printStackTrace();
			}
		}

		myjsonstring = sb.toString();
	}

}
